package com.scud.product.mapper;

import com.scud.model.product.pojo.ProductSpec;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ProductSpecMapper {
    List<ProductSpec> getSpecByProductId(Long productId);

    //根据商品id删除商品规格
    void deleteByProductId(Long productId);

    //插入多组数据
    void insertList(List<ProductSpec> productSpecList);
}
